/**
 * Created by x298017064010 on 17/4/25.
 */
const dom = weex.requireModule('dom');

export function getBoxSize(ref, callback) {
    var size;
    dom.getComponentRect(ref, option => {
        console.log('getComponentRect:', option);
        size = option.size;
        callback(size)
    })
}

